package My_Stack;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 周斌
 * Date: 2024-03-10
 * Time: 21:15
 */
public class ArrayTest1 {
    public static void main(String[] args) {
        ArrayStack arrayStack = new ArrayStack();
        arrayStack.push(1);
        arrayStack.push(2);
        arrayStack.push(3);
        int ret = arrayStack.pop();
        System.out.println(ret);
        int ret2 = arrayStack.peek();
        System.out.println(ret2);
    }
}
